//
//  ICMCellContentView.h
//  ICrEAM
//
//  Created by rainimute on 16/11/22.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICMProxyActivityModel.h"

@protocol ICMCellContentViewDelegate <NSObject>

@optional
- (void)didSelected;
- (void)didSelectedRotateButton;

@end

@interface ICMCellContentView : UIView

@property (nonatomic, weak) id<ICMCellContentViewDelegate>delegate;//代理

@property (nonatomic, strong) UIButton *stateButton;//是否选择btn

@property (nonatomic, strong) UILabel *activityNameLabel;//活动名称

@property (nonatomic, strong) UILabel *subNameLabel;//活动code

@property (nonatomic, strong) UILabel *startTimeLabel;//开始时间label

@property (nonatomic, strong) UILabel *endTimeLabel;//结束时间label

@property (nonatomic, strong) UIButton *rotateButton;//展开按钮

@property (nonatomic, assign) NSInteger index;//index

+ (instancetype)createCellContentViewWithProxyActivityViewModel:(ICMProxyActivityViewModel*)viewModel andFrame:(CGRect)frame;

- (void)setupCellContentViewWithProxyActivityViewModel:(ICMProxyActivityViewModel*)viewModel;


@end
